<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link rel="stylesheet"  href="css/customisation.css" type="text/css" />
</head>

<body>
	<div class="menu" >
		<#list customisation_list_tab_user as list_tab_user >	
			<#if current_tab = list_tab_user.idTab > <!-- Check if the first tab of the list, it's the current tab -->
			
				<#if mode_selected != 0 > <!-- CURRENT tab -->
					<#if mode_management_portlet != 0 > <!-- Administration mode -->
						<span class="active-tab-administration-addition-portlet" > <!-- Addition of portlets for the current tab -->
					<#else>
						<span class="active-tab-administration" > <!-- View of the current tab -->
					</#if>
				<#else>
					<span class="active-tab" > <!-- No administration mode -->
				</#if>
						${list_tab_user.nameTab}
						<#if mode_selected != 0 >
							<a href="jsp/site/Portal.jsp?page=customisation&tab_menu=${list_tab_user.idTab}&url_tab=get_update_tab" >
								<input type=image src="images/admin/skin/actions/update_tab.png" title="#i18n{customisation.create_customisation.buttonLabelUpdate} : ${list_tab_user.nameTab}" />
							</a>
							<a href="jsp/site/Portal.jsp?page=customisation&tab_menu=${list_tab_user.idTab}&url_tab=get_delete_tab" >
								<input type=image src="images/admin/skin/actions/delete_tab.png" title="#i18n{customisation.create_customisation.buttonLabelDelete} : ${list_tab_user.nameTab}" />
							</a>
						</#if>
					</span>
				
			<#else>
				<span>
					<a class="tab" href="jsp/site/Portal.jsp?page=customisation&tab_menu=${list_tab_user.idTab}" > <!-- NO CURRENT tab -->
						${list_tab_user.nameTab}
					</a>
				</span>
			</#if>
		</#list>
		
		<#if mode_selected != 0 >
			<span>
				<a class="tab" href="jsp/site/Portal.jsp?page=customisation&tab_menu=get_add_tab" >
					<input type=image src="images/admin/skin/actions/add_tab.png"  title="#i18n{customisation.create_customisation.buttonLabelAddTab}"  />
				</a>
			</span>
		</#if>
		<br>
	</div>
</body>

</html>

